package mspbots.cw.business.core.workroles;

import lombok.*;
import mspbots.cw.business.core.BaseTenantEntity;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * @author Jay.Yang
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Table("connectwise_workroles")
public class Workroles extends BaseTenantEntity {

    private Long cwId;
    private String name;
    private Double hourlyRate;
    private String integrationXref;
    private Boolean inactiveFlag;
    private Boolean addAllLocations;
    private Boolean removeAllLocations;
    private Boolean addAllAgreementExclusions;
    private String locationIdsStr;
    private LocalDateTime lastUpdated;
    private LocalDateTime syncTime;
}
